package cn.dada.dadarecipes.community.audit.mapper;

import cn.dada.dadarecipes.community.audit.pojo.dto.AuditInsertParam;
import cn.dada.dadarecipes.community.audit.pojo.dto.AuditQuery;
import cn.dada.dadarecipes.community.audit.pojo.entity.Audit;
import cn.dada.dadarecipes.community.audit.pojo.vo.AuditVO;

import java.util.List;

public interface AuditMapper {
    void insertAudit(AuditInsertParam auditInsertParam);

    Boolean updateAuditStatus(Audit audit);

    List<AuditVO> selectAudit(AuditQuery auditQuery);
}
